package com.example.xiaomiao.Service;

import com.example.xiaomiao.DO.Note;
import com.example.xiaomiao.DTO.GetNoteRequestDTO;
import com.example.xiaomiao.DTO.NoteAddRequestDTO;
import com.example.xiaomiao.DTO.NoteDeleteRequestDTO;
import com.example.xiaomiao.DTO.Return;

public interface NoteService {
    Return add(int userId, NoteAddRequestDTO noteAddRequestData);

    Return delete(NoteDeleteRequestDTO noteDeleteRequestData);

    Return update(Note note);

    Return get(int userId, GetNoteRequestDTO getNoteRequestData);
}
